<?php	$atr=array(
					"name"=>"annex",
					"onsubmit"=>"return checkAnnex()"
				  ); 
	echo form_open('annex/edit1',$atr);
	$bar="Annex Edit"; 
?> 

<table id="box-table-a" cellspacing="1" align="right" width="900px">
	<tr>
		<td colspan=7 align=right class=bar><?php echo $bar;?></td>
	</tr>
	<tr>
		<th>Annex_ID </th>
		<th>Contract_ID</th>
		<th>Salary</th>
		<th>Date</th>
	</tr>
	<tr>
		<td><input type="text" name ="Annex_ID" readonly="readonly" value=<?php echo $result->Annex_ID; ?>></td>
   		<td><input type= "text" name ="Contract_ID" readonly="readonly" value=<?php echo $result->Contract_ID; ?>></td>
   		<td><input type= "text" name ="Salary" value=<?php echo $result->Salary; ?> onkeyup="this.value=add_commas(this.value);"></td>
		<td><input type= "text" name ="AnnexDate" value=<?php echo $result->AnnexDate; ?> onkeyup="dtval(this,event)" maxlength="10"></td>   		   			
   		<td align="center"><input type="submit" id="submit" value="edit"/> </td>
	</tr>
</table>
